package com.ws.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("shop_role")
@Data
public class Role {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String roleName;

    @TableField(exist = false)
    private String username;
}
